-
Notifications
You must be signed in to change notification settings - Fork 8.2k
dts/arm/st: wl: increase Sub-GHz SPI frequency to 12MHz #38793
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dts/arm/st: wl: increase Sub-GHz SPI frequency to 12MHz #38793
Conversation
|
Oh neat good idea! Would be nice to make sure we are still in spec, could not find any either, maybe @ABOSTM knows something? The cube package seems to be setting |
Good catch, I'll make it 12 MHz then. |
1a5da8e to
5083c59
Compare
ABOSTM
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The maximum supported speed according to the SX126x datasheet (I have not found that information in the STM32WL datasheet or reference manual). Increase the Sub-GHz SPI frequency from 1 Mhz to to 12 MHz, which corresponds to a baud rate prescaler of 4 with a 48 MHz clock. It also matches what is done the the STM32CubeWL package. This reduces the time the MCU is kept running, thus reducing the global power consumption. Signed-off-by: Aurelien Jarno <[email protected]>
5083c59 to
5748838
Compare

The maximum supported speed according to the SX126x datasheet (I have
not found that information in the STM32WL datasheet or reference
manual). Increase the Sub-GHz SPI frequency from 1 Mhz to to 12 MHz,
which corresponds to a baud rate prescaler of 4 with a 48 MHz clock. It
also matches what is done the the STM32CubeWL package.
This reduces the time the MCU is kept running, thus reducing the global
power consumption.
Signed-off-by: Aurelien Jarno [email protected]